package com.smartleanx.module.hrm.dal.dataobject.payrollapproverecord;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smartleanx.framework.tenant.core.db.TenantBaseDO;
import lombok.*;

/**
 * 薪资审批记录 DO
 *
 * @author zhangchp
 */
@TableName("hrm_payroll_approve_record")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PayrollApproveRecordDO extends TenantBaseDO {

    /**
     * 主键ID
     */
    @TableId
    private Long id;
    /**
     * 薪资月份ID
     */
    private Long payrollId;
    /**
     * 审核流程实例的编号
     */
    private String approveProcessInstanceId;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 部门ID
     */
    private Long deptId;
    /**
     * 审核结果
     */
    private Integer approveResult;

}